package com.p2p.terminal.vo;

import java.util.List;

public class AgentTree {
	private String name;
	private Long id;
	private List<AgentTree> children;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public List<AgentTree> getChildren() {
		return children;
	}

	public void setChildren(List<AgentTree> children) {
		this.children = children;
	}

	public AgentTree(String name, Long id, List<AgentTree> children) {
		super();
		this.name = name;
		this.id = id;
		this.children = children;
	}

	public AgentTree(String name, Long id) {
		super();
		this.name = name;
		this.id = id;
	}

}
